<h1>Edit Contact</h1>

<div class = "form">
  <%= error_messages_for :contact -%>

  <fieldset>
    <legend> Enter Contact Information</legend>
    <% form_for :contact, :url => {:action => "update",
                                   :id => @contact.id} do |form|%>
    <%= render :partial => 'form', :object => form %>
    
    <%= submit_tag "Save", :class => "submit" %>&nbsp;
    <%= link_to "Cancel", {:action => "show", :id => @contact.id},
                           :class => "cancel" %>
    <% end %>
  </fieldset>
</div>